package com.efast.dmom.mes.bean;

import com.efast.dmom.mes.bean.base.BaseBean;
import com.efast.dmom.mes.entity.RouteArcEntity;

/**
 * @author Aaron Liu
 *
 * @date:2020年1月7日
 */
public class Arc extends BaseBean<RouteArcEntity> {

	/**
		 * 
		 */
	private static final long serialVersionUID = -992989700124098338L;

	

	public boolean equals(Object obj) {

		boolean result = false;

		if (obj instanceof Route) {

			if (this.getInnerData().getId() <= 0) {
				result = (this == (Arc) obj);
			} else {
				result = (this.getInnerData().getId() == ((Arc) obj).getInnerData().getId());
			}
		}
		return result;
	}

}
